add_rules("mode.debug", "mode.release")
--    add_cxflags("-Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wstrict-aliasing=1", {force = true})

option("posix_pthread")
	add_cincludes("pthread.h")
	add_links("pthread")
	add_defines("HAS_POSIX_THREAD=1")

target("libkfa")
    set_kind("static")
    add_options("posix_pthread")
    add_includedirs("./")
    add_files("src/lz4/*.c", "src/zstd/*.c", "src/*.cpp")
